/**
 * @projectName yygh_parent
 * @package com.atguigu.yygh.hosp.client
 * @className com.atguigu.yygh.hosp.client.HospitalFeignClient
 */
package com.atguigu.yygh.hosp.client;

import com.atguigu.yygh.vo.hosp.ScheduleOrderVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Repository;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * HospitalFeignClient
 * @description
 * @author zyw
 * @date 2023/6/7 14:57
 * @version 1.0
 */
@FeignClient(value = "service-hosp")
@Repository
public interface ScheduleFeignClient {

    @GetMapping("/user/hosp/schedule/{scheduleId}")
    public ScheduleOrderVo getScheduleById(@PathVariable(value = "scheduleId") String scheduleId);
}
